package com.aoxun.admin.action;

import java.util.List;
import java.util.Map;

import com.aoxun.service.ISysFunService;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class SysFunAction extends ActionSupport {
	
	private List sysFunList;
	private ISysFunService sysFunService;
	
	
	/**
	 * 
	 * this method is to get navigations
	 */
	public String GetModules(){
		
		sysFunList=sysFunService.GetModules();
		Map session=ActionContext.getContext().getSession();
		session.put("sysFunList", sysFunList);
		return "success";
	}

	
	//get  set methods
	public List getSysFunList() {
		return sysFunList;
	}

	public void setSysFunList(List sysFunList) {
		this.sysFunList = sysFunList;
	}

	public ISysFunService getSysFunService() {
		return sysFunService;
	}

	public void setSysFunService(ISysFunService sysFunService) {
		this.sysFunService = sysFunService;
	}
	
	
	
	

}
